﻿using System;

namespace SurfaceAreaCalculationDomain
{
    public class Cone : IShape3D
    {
        public double radius;
        public double directing;

        public Cone()
        {
            radius = 0;
            directing = 0;
        }

        double IShape3D.computeSurfaceArea()
        {
            return Math.PI * radius * directing;
        }
    }
}
